The question behind is - how algorythm is performing calculations of pathfinding: does limiting distance from A to B gives any benefits? My intuition tells me yes, but I'm curious.
Pathfinding (most likely) uses A* Algorithm which generally does get slower the longer the distance between the objects. There's also the possibility that both objects are nearby (on the same screen) but the path between them is a long and complex maze and has to do 3 loops around the whole layout to get there, that will probably also be slow.
That said, pathfinding works async in an extra CPU thread, so it should not impact performance all that much. It will just take longer for the path to be found.
I'd say, just test it. Seems pretty simple to set up a testlayout and check how long the pathfinding takes and how it performs.