yes, depending on the condition of it and the container you stored it in. Rain water you have to filter super heavily if you plan to ingest/ be aware of by-laws in some areas/pollution levels. you’ll need to look into those, on if it’s safe to collect. some areas it can be illegal to store in large quantities. general moon water is safe, depending on the original source of where the water came from , if say bottled or tap. Rain water is generally not. if you want to boil it , but not use it for things like tea/infusions, it should be fine.just something to keep in mind.
it’s generally not a good idea to drink or use rain water [aside from for with plants], for the most part.