Of course not. Voluntary notice periods never have been made out of fairness, it is and always was about self-interest.
Employees give two weeks to be nice and not burn bridges with people on their team.
Employees who are angry at their employers may often give no notice at all.
Employers don’t give notice in layoffs because disgruntled employees are not productive and are a liability.
Employers don’t give notice in terminations because they don’t want them working for two more weeks.