...by law in most States unless you're on a contract job. Some companies even ask you leave right away when you submit the resignation letter for safty reasons, but they still pay the 2 weeks pay.