I gave something like 6 weeks notice at my last job and by mutual agreement spent most of that time doing presentations and updating docs to sunset my bus factor. The mistake isn't on the part of the worker who has the courtesy to minimise the disruption of their departure, it's the employer who poisons that well.
Of course, power dynamics being what they are, it's the worker who pays the price.