Yes everybody now believes there’s water on the moon. “Moonshine: Diurnally varying hydration through natural distillation on the Moon, detected by the Lunar Exploration Neutron Detector (LEND)” by authors Dana M. Hurley,G. Chin,R.Z. Sagdeev,I.G. Mitrofanov,W.V. Boynton,L.G. Evans,M.L. Litvak,T.P. McClanahan,A.B. Sanin,R.D. Starr,J.J. Su now tells us that it is theoretically possible to use water that is in the surface and thin atmosphere.
Not as simple a process as we use on earth, but basically it gets to vaporize water into a condenser that would funnel distilled water to a recipient. Sunlight would provide the necessary energy to power the system.