Why might you still want to write a resignation letter? Many experts believe that writing a formal or even a basic resignation letter when you're leaving your current job helps make you seem more courteous and professional. However, the real reason to write a resignation letter is to create a paper trail documenting that you have given notice (if your employer requires two weeks notice or some other amount of notice) on a certain date, and to formally kick of the process should there be any legal hiccups (quite rare) with incorrectly processing your final paycheck and last day of benefits.
Prepare for It. Like the situation above, you should go into the conversation knowing how you'll respond if your boss asks you to extend your notice. If you've landed another job offer and have already set a start date, this may not be possible__so practice sticking to your guns: "Because I have a new opportunity lined up, my last day here is firm.