If we had a fence build the cockroaches wouldn't have made it back across, period.
No, sorry, a virtual fence would do much better.
Regards.