God’s infinity does not require an infinite universe.
They would be different kinds of infinity in any case.
God is infinite spirit. I’m thinking that by an infinite universe you probably mean one that has an infinite extension in space. But, as I said, that’s not needed.
The current thinking, unless the scientists have changed their minds recently, is that the universe is not spatially infinite, but rather that it consists of a positively curved space closed in on itself, and filled with galaxies, and expanding.
The ‘three dimensional’ space of the universe could be thought of as analogous to the surface of a sphere. Any galaxy is represented by a dot on the sphere. If you travel out from the dot in any direction, you will eventually circumnavigate the sphere and arrive back where you started.
For that kind of universe, a starship might travel in a straight line for a few hundred billion years and arrive back where it started. (If it traveled at something like 99.9999999% of the speed of light, not much time would elapse for the travelers, but when they got back to where they started, some billions of years would have elapsed for those who stayed behind.)