(There are quite a few factors that play in here, but...)
If you ask to be laid off they might just fire you with cause (insubordination). Then you might not get any severance package, unemployment insurance, etc.
I know a few people that have done this, from what I understand managers like this because they don't have to choose and nobody gets mad, it's a win/win.