Was extremely common practice "back in the day" and with metal supply piping, it provided a generally good ground.
Nowadays, lots of plastic pipe (both inside and outside of houses) and if you don't know what you have, it's no longer a safe bet. If you do know you've got hundreds of feet of buried metal pipe and no breaks prior to the service entrance, it's still fine, IMO.