Upon receiving notice of intent to leave, one of my previous employers would walk you out the door same day. In their judgment, removing quitters immediately was worth the loss of organizational knowledge and team planning challenges that resulted.
Needless to say, their code was full of people papering over code no one understood anymore, duplicated features that interacted poorly, and so on.