Careful with that word. Non-competes are non-enforceable in California and other jurisdictions. Some people say "non-competes are illegal in California", but it is not a crime to ask someone to sign a contract with a non-enforceable provision.
One of the best quant firms, TGS, is located in CA and enforces non-competes no problem. They had an employee sue, his NC got waived but he had to pay 7-figures to TGS.
Careful with that word. Non-competes are non-enforceable in California and other jurisdictions. Some people say "non-competes are illegal in California", but it is not a crime to ask someone to sign a contract with a non-enforceable provision.