IANAL, but in the United Stated, if you are nervous about getting laid off from work, you might be able to get a 60 day prior notice due to the WARN Act:
https://www.dol.gov/agencies/eta/layoffs/warn
For example, here are the real time listings online for Colorado:
https://cdle.colorado.gov/employers/layoff-separations/layoff-warn-list
By clicking on the "View Real Time Warns" button, I can see that DISH is planning to have a layoff on Feb 8, 2024 of 157 people. I assume there are similar sites for other states.
You also aren't going to get advance notice, in the sense that they will fire you immediately and then continue paying you for the next 60 days, which satisfies the notice requirements.