Not sure whether or not this is considered a “hot take”, especially in this subreddit, but…
Two weeks' notice (or a month or 60 days or whatever your particular position or employer dictates) when voluntarily leaving your employer is a courtesy, NOT a requirement.
I put in two weeks' notice (again, as a courtesy) at one job several years ago and they told me I had to stay until they hired a replacement AND I had to fully train said replacement. I walked out that same day, as soon as I packed my personal effects.