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.
However, I'm happy to help out however I can in the next two weeks." If you haven't landed a new gig yet or your new start date is negotiable, know your limits. If you're willing to stay an additional three weeks, for example, don't let your manager talk you into staying three more months.