That's what many companies do, but if you're cutting whole business units, and lots of them, you probably don't have as many openings elsewhere. It's a good incentive to generally gravitate towards projects/teams that are contributing to profits if you're an engineer though, and not just look for another position when your is being axed.