The Enterprise is at the Romulan Neutral Zone and then heads for Earth where the Borg cube is practically on top of the planet. That's what is in the film and it's just as dumb as the Enterprise making it to the heart of the galaxy in no time at all in TFF.
The series often enough made nods to time required to get from place to place, but the films usually glossed that over without one line of dialogue to address it.