The Bible even combines the two:
God exists outside time and space (is infinite) and created the universe by calling a potential into form.
Which of course still has the issue of infinity: where did God come from? And even: what does it mean to not be limited by time and space.