What is a resignation letter, and how do you write one? Here are sample letters and templates, as well as tips for how to resign gracefully.