Literary, often somber.
残 (remaining / what's left) carries an implication of damage or fragility, so
残生 sounds heavier than the neutral
余生 (yúshēng, "the rest of one's life"). Pick
余生 for ordinary contexts; reserve
残生 for hardship, illness, or postwar themes.