A study has found that people exercise regularly, quit smoking, and practice five other health strategies can improve their chances of living longer after cancer.