While this holds for individual employment[1], there is the WARN act[2] for mass layoffs, which requires advance notice if certain conditions are met. However, my experience is that companies will do whatever they can to avoid triggering it and you will not necessarily hear about it if a team you don't communicate with is impacted.