Here's the official answer


https://www.gov.uk/handling-staff-resignations