On the Staff Record Setup the Leaving Details tab will look like the below window:
If a staff member leaves, fill in the leaving date and they will no longer be able to log onto the system.