Do you work in the U.S. as an "at-will"[1] employee? If so, your employer can't "require" anything of the sort.
The vast majority of employees in the U.S. fall into this category, and are free to leave their jobs at any time - and their companies are free to fire them at any time. Under this system, giving notice of your resignation is a courtesy, not a legal obligation.