If an employer ever asks you to resign, tell them "no".

There is no benefit to resigning unless you have another job lined up already.

Make them fire you. Get your unemployment benefits. Make sure you are legally protected in case of malfeasance. Resigning undermines all of that.

This message brought to you by AWS telling workers to return to office 5-days-a-week by commuting or relocating, or they should resign.

Again, the answer is "no, you'll have to fire me."

EDIT: To clarify, in most areas "fired" and "let go" are not legally meaningful terms and can be used interchangeably. The important term is "for cause" or not. So don't commit misconduct to get fired. Poor job performance is typically not a "for cause" reason, nor is failure to accept changes like RTO

@neatchee This is the rule in most EU countries. If you resign yourself, you're on your own for at least a couple months. If you're fired, you're still financially ok, even if it is entirely your fault.

I suspect maybe something similar across the Anglosphere? No expert but only suspect.

@monsoonrains in the US you're definitely not financially okay if fired, but you do get certain protections, like unemployment benefits (unless fired for misconduct). There are also some cases where you can resign and still qualify if you can effectively show that you were forced to resign to avoid worse consequences (harassment, etc)
@neatchee @[email protected] that depends on the state. Worker protections in some states are virtually nonexistent. In any case, it's so almost always better to be fired than resign. Unemployment benefits, in particular, often hinge on the termination being involuntary. I've been burned by that one before myself.
@earthshine @neatchee if you're going to get fired, get fired in California. They have some of the strongest worker protection laws and social services.