I had an employer flout the WARN act. We all had 3 days notice. When I got another job about 2 weeks later, they wanted me to give them a written statement saying that I resigned. As politely as possible under the circumstances, I instead wrote a statement saying that the company laid me off on the day they stopped paying me, collected all my badges, and told me not to report for work unless someone called me to say where. I most emphatically
did not resign, and if the company wanted to resume the working relationship that they unilaterally interrupted, all they had to do was start paying me again.
The only reason I came in at all is so that they'd transfer my clearance to my new employer. If they wanted me to write some bullshit resignation letter, they had best be prepared to deal with the consequences of me not having been laid off, which is to say the salary I hadn't been paid while "benched". But with the small numbers involved, they only needed a handful of people to say they actually resigned, or that they got laid off at a different time, so it wasn't really worth fighting.
And here I am, technically working for them again, after they got bought by a company with better cash flow. They certainly had an opportunity to read that letter in the old HR file before rehiring me.
You can't count on the labor laws to protect you. Keep a 6-month savings buffer, update your resume every year, and try to make sure that it would hurt a little, but not too much, if you suddenly disappeared without wrapping up loose ends. The company should be able to survive if you got hit by a bus (or otherwise separated on zero notice), but it should also have to cry a little. And ask for more money than you think you're worth, to account for the chance that they'll screw you over without any warning.