Also think about your relationship with your manager. Would he or she have reason to think that you'll waste your last two weeks or distract your co_workers instead of doing what you can to make the transition seamless? If so, you may be asked to cut your two weeks short.
If You Want to Do More Than Just the Basics with Your Resignation Letter. You can always write more, and craft a longer resignation letter, but the truth is that it isn't necessary. You can add a portion of the note where you thank your manager or boss for the opportunities and time you have had together, or add that you hope to keep in touch, but in reality, if you really feel this way you probably should make an effort and find an opportunity to say these things in person (rather than getting an email).