Definitely not like this in the US.
Usually some of paperwork you sign when joining a large company are agreements that the company practically owns anything you do/invent/think while employed.
Basically assume it's all their IP unless you have an agreement stating otherwise.