To the christian faithfuls, growing up as children we were told how God created the heaven and earth but till date, no one has ever told us where God lived before creating the heaven and earth .God must have been living somewhere before thinking of creating another one. Is like someone living in a particular building and decide to build a new one for himself or renovates the old one. God must certainly have somewhere staying before creating the heaven.
It's a controversial questions though, but the truth is that no one can exactly tell where God was before he created the heaven and the earth, but however from encounter of prophets in the bible like Enoch who saw the throne of God and the mysterious creatures and how he saw different realm, it was confirmed that earth was the last creation God made
God and Angel has already existed for many aions before creating the Earth. So the summary is that the Bible only teaches you about the last creation of God which was the earth but didn't explain where he existed. Even in Genesis 1 vs 1 explain that the spirit of God was hovering around the face of the waters meaning he has already existed for long. So we can't figure out how he was created but he was the world and the world was him.
He is omnipotent, omniscience, the owner of the whole universe, the beginning that has no end, the alpha and the Omega. His ways is sacred beyond human understanding, he is an imotal and invincible God. He is holy fearful in praises. He is just indiscribeable.