I had a friend who got RIF'd from a software company, and their offboarding paperwork included a 1 year noncompete that tied their severance as the consideration. Essentially, "we don't want you working here, but we also don't want you working anywhere else, either."