If this survives the Supreme Court, wouldn't a company would have to put in your employment contract that you/they must give x months notice to end employment if they wanted to restrict you? Otherwise you could give one days notice and they wouldn't be able to put you on gardening leave.