If I had a nickel when I get eliminated near the end of the game, I would have three nickels, which isn't a lot, but it is weird that it happened three times.
Weaker players are often left alive by both mafia and town for later on as it is assumed by both sides that they can be handles and will slip at a later date whereas it is feared that stronger players will arrange things to hide their allegiance if they're mafia.
That said, I myself often survive far into games and appearing weak is a good thing to do for this purpose. If I am unpredictable and at times outing a wrong read or two as well as known to scumtell later on in a game potentially, scum will leave me alive. As for being left alive by town, it depends on the crowd and how 'weak' they perceive me.
Usually the day 1 or 2 lynch, if it wasn't someone slipping or harshly scumtelling, is a player that most townies on the lynch feared being scum and pulling off good moves later on in thegame.