Storing pasta in cold water isn't a great way to prolong its shelf life. The moisture creates a perfect environment for bacterial growth. A sealed container in the fridge is your best option.