When you decide to quit a job, most companies require you ... right away and don't have time to draft a formal letter – sending a two-weeks' notice email may be appropriate.
Resignation: How Much Notice to Give ... you just can’t predict when you may have to leave your job involuntarily. For example, serious health emergencies, family situations or sudden relocation ...