In a 100-year period, a water molecule spends 98 years in the ocean, 20 months as ice, about 2 weeks in lakes and rivers, and less than a week in the atmosphere.

source