Platies can live 4 or 5 years depending on conditions. If you did not breed them yourself you have little idea how old they are when you buy them.
A female platy is usually just about permanently pregnant so finding a dead one full of babies doesn't necessarily mean a lot. On the other hand, it is possible she died if one of the fry got stuck and blocked the rest from being expelled from her body. This happens sometimes.