This question already has an answer here:
I'm a consultant who's in the middle of a very significant project that would be nearly impossible to handover to another team member without putting the deadline at significant risk.
On Monday, I"m resigning. I'm in a position where I can provide extra notice period to my employer to allow the project to be completed. Should I do this? Should I feel obligated to do this (as I do)? If so, is there anything I should ask for in exchange or should this just be considered professional courtesy?