Resign = Admit responsibility for the error and take your saved company scheme cash.
Sacked = Don't admit full responsibility for the error (other factors also at play) and company won't let you take the cash = BLACK MAIL!
So....Your liablilty (they win when you resign as not their fault). Part company liability possibly (they won't pay out your cash and they win when they fire you).