The way I see it, the years you loose because of AAS (IF you loose some) will be at the END of your life, 65-70-75 years of age. Many peoples end up non-functional during those years, the last 10-20 years of your life can truly be hellish.
So even if you would loose 2-3 years of your life, it's not really "good" years.
That having been said, I still have no intention of dying young!
BTW, I trained with a 69 years old man who had been a competitive lifter for over 50 years. He had used steroids in the past but is still in great health, still training hard (sometimes he would train twice per day plus a sprint session!). Still full squats 315lbs for reps and power clean 225lbs for reps. Not a bad old man!
Anyway you look at it being obese, out of shape and sedentary with bad nutritional habits is a much greater risk than being in great shape, lean, active with good nutrition habits while using AAS.