Seriously, there's basically two good ways to die when you're famous; young and still beautiful and relevant so everyone remembers how great you were, or old but still relevant and having left a lasting impression on the world.
The latter is extremely hard to pull off (Johnny Cash is the last one I can remember executing it flawlessly), so I generally recommend the former.