Or, alternatively, use the Bifrost like Loki did back in Thor 1 - as a large cannon. Blast Thanos’ ship to bits at extreme range. Not sure if Thanos can breathe in space but he can’t go teleporting place to place without the Space Stone - which Hela is camped on top of.
Speaking of transit, does Asgard have a fleet of its own? I remember ships in Thor 2, but not if they were space-capable. That might be another option if so.