The legal principle that says employers and employees each can decide when they want to end their employment relationship is called "at-will employment."
The legal principle that says employers and employees each can decide when they want to end their employment relationship is called the principle of "employment at will."