What you do in your 20s as you embark on your career can influence how comfortably you will live in your 30s and beyond.