Even if there is a God, that God need not have to be the God of the Bible. There are other concepts of God also.1
About the supernatural God it has been said that he is spaceless, timeless, changeless, immortal, all-pervading, one, unborn, uncreated, without any beginning, without an end, everlasting, non-composite and immaterial. And then supposing that this supernatural God is real and not just a figment of our imagination science has shown as to how it is possible to be spaceless and timeless. Special theory of relativity has shown that at the speed of light time totally stops and it has also shown that any distance light has to travel becomes zero for it. Even infinite distance becomes zero for light! If certain volume of space (say, a room) is filled up with light only, then due to these two properties of light volume of that room will become zero and time also will totally stop there. As zero volume means no space, so in this way a spaceless and timeless state will obtain.
If someone is spaceless and timeless, then it can be shown very easily that this spaceless and timeless being will also be changeless, immortal, all-pervading, one, unborn, uncreated, without any beginning, without an end, everlasting, non-composite and immaterial.2
So here science has not acted wisely by supposing that a figment of our imagination is actually real.