Assuming you meant you turned data off as in no connection at all the route is preloaded. If you were to travel off the route (even just stopping for food or gas) and it tried to reroute it would fail.
Once the route is loaded it's relying on GPS so a internet data connection is not required.