The current assumption of the cosmological standard model is spatial flatness, which is compatible with the observations. In principle, space could still curve back on itself on a large enough scale, but assuming there's no big crunch coming, you'd have to go straight for a longer-than-infinite duration to come back to the place you started from.