Depending on your state, laws will work more/less in your favor. California law makes it hard for a company to sue you unless you explicitly steal IP and/or are a founder. Even non-competes don't hold up as well. If you work as a contractor attempt to get your contracts to be governed by CA law.