Different states or other jurisdictions view water differently. Some places (Colorado?) seem to treat any water as a public resource, whether it falls on you or your property flows through it on the surface, or is underground. You aren't supposed to capture rain or surface water, and if you install a well on your property, you probably have to get permission from a local water authority, and possibly meter it and pay a "pump tax" on the volume that you pump. Grey or black water is probably not your either. I suppose you could think of it as renting the water and returning it when you are done.
California treats water as private property, unless otherwise deeded away or similar, with a few exceptions. If it fall on you or your property, it's yours. If it's under your property it's yours. If it flows through your property on the surface from somewhere else, it's probably not yours.
Hence the problems we are now experiencing with drought, uncontrolled water pumping and well drilling, subsidence, and depleted aquifers. Here's a litle factoids about wells and pumping. The amount of electricity needed to pump the water to ground level increases as the square of the depth. Twice as deep, 4 times the power required.
At least when the County approved our development, they required extensive hydrogeological studies, imposed a (generous) allocation per lot, and required the 2 tract developers to deed the water rights to our water company. Interestingly, those of us on the original 10 acre parcels retain our individual water rights, while also sharing them with company wells placed in easements on our properties.