That's not the case.
By default, you own copyright on your work. If the work is done while employed by a company doing any sort of software, your employer owns the copyright on the work and you can't license it without your employer permission.
For instance, if you contributed to public domain...