I believe that would be a Torus-shaped universe that could produce that effect, basically a donut where space loops back in on itself. I think it’s something that’s been considered, though it sounds as if there’s no evidence for or against that idea, and it’s not considered likely.