> Before that, you technically had to leave the country the day you were laid off
Interestingly enough, there's a very similar system in place in the United Kingdom (Tier 2 General). Not only you have to leave within 60 days after being laid off, but there's also a "cooling-off period" of 1 year, which means that you can't get a new visa during this period and effectively it resets your time until permanent residence, so you have no option but to start over.