We have it, it's called the WARN Act [0]

Any company with more than 100 employees that does the "you were laid off today, but you'll be paid for the next 2 months" thing is following the WARN Act

https://en.wikipedia.org/wiki/Worker_Adjustment_and_Retraini...

not quite the same, this only applies to mass firings. the giving two weeks thing is whenever an individual leaves a job. if you're fired as an individual not alongside a bunch of others the company has no requirements under WARN.