I read a story in this article about a person being sued after they found another job after they were laid off.
There should be exemptions for non competes when it's the company firing or laying off the employee. When a company decides to do that, they need to be willing to bear the consequences of their decision.