A morbid thread title aside, what would be your answer?
For me I think I'd like to do something that would make me be remembered.
Like I helped people in some way, and it made people remember me for the right reasons rather than the wrong ones.
And also that it's the right thing to do obviously, but the ego boost wouldn't hurt either.