Nobody. Perhaps you want to be laid off when you know your employer may be about to lay off some employees, you'll have an easy time finding a new gig, and the severance will be nice. But if you want to quit, then quit, and whatever else you do, don't get yourself fired for cause, ever.