Incorrect. Resignation is merely one of your infinite valid options. Your obligations are mostly not to do various incorrect things, not to do any particular specific thing other than pursue a goal.