A routine, planned departure
Notice is known in advance, so ownership handoffs can be arranged before the last day rather than after it.
A sudden departure
Access is secured immediately, and ownership questions are resolved over the following days rather than all at once.
An extended leave
Access may be paused rather than removed, with a clear plan for what happens if the leave becomes permanent.