If you’re about to quit a job, your first instinct may be to run out of your employer’s doors and never be seen again. But don't do that. Instead, you may want to write a resignation letter.