There's no legal requirement, but literally every company that is not bankrupt does it because otherwise they will face huge numbers of wrongful termination suits.