Yeah, but parent here states that even if an employee wasn't using any employer's resources, the rights are still belong to the latter. Which is a whole other level of insanity.
On an unrelated note, university owning any work of a student, regardless on how it was done (unless it was explicitly contracted with the uni), is also pretty grim, but this is probably US thing.