To do that requires leaving the bifrost open to build up its energies over time. For a planet that's easy, but I don't think it would work that way for a moving ship, otherwise the bifrost would carve through everything in its path every time it's used and Odin would have banned it ages ago.