Water was there, and so was the earth, when God created the environment for, and the life on earth. The six day creation period.
In fact God did create the earth and water on it, in the first verse of Genesis: In the beginning God created the heavens and the earth.
Which is why in my Old Earth...