An employee who resigns in the "heat of the moment", when they were angry or upset, may not have made a rational decision to terminate the employment and might regret it.
In these circumstances, the employer should consider giving the employee the opportunity to retract their resignation after they have had time to calm down.
An employer that does not allow an employee to retract a heat-of-the-moment resignation may be at risk of an unfair dismissal claim.