You should always prepare your Spaghetti right before you eat them, as they are much better this way.
I remember a quote by Gordon Ramsay that even the scummiest Italian restaurant makes pasta just in time. It is a must!
As regards the dangers of noodles with sauce stored in the refrigerator, Chubbyemu made a medical documentary about a student who died from old pasta that became infested with bacteria: