Nope: every decent technical employee acquires insider knowledge, and companies don't have the right to enslave people because of that knowledge. The laws governing this differ from state to state, and California in particular gives employees more protection from restrictive contracts than other states.