That's how it's done in most of the world. But the US and "at-will" employment tends to benefit the company much more often than the employee. These kinds of layoffs elsewhere would mean you need to throw out a gigantic severance to compensate. 2-3 months is generous for the US tech sector, but we're easily talking 6+ months severance if this happened in most of Asia. You'd need to prove multiple quarters of loss or such a drastic loss that you are physically unable to pay labor for layoffs to go through this way.