They make it their business to replace resignees with loyalists. In terms of generating friction for the regime, it makes more sense to make your stand in office and make them fire you, but that carries a lot of personal/career costs too. Which I suspect is why people choose walking away instead.
Preemptive compliance does nobody any good.