How to define "floating freely" is not easy to define. The potential energy surface of gravitation extends in 1/r wgich makes it a long range interaction. So if the earth attraction is small enough that you want to neglect it, you may still be trapped in the sun potential well. And if you can escape the sun attraction you are still prisoner of the galaxy. There is no 0 gravity, but there is various levels of neglectable gravity of course. But neglectable is always defined relative to whatever you want to measure.