No! But if wildlife/varments are allowed to sneak around at night unchecked, that makes them braver IMO, so they stay closer. Whereas if they are constantly being chased off or deterred, day and night, they'll move on.
Case in point, our border collie and corgi always sleep outside. They have kept the wildlife out of our yard for years and our chickens safely free-range. Until last week when the temps were sub-zero, we kept the chickens locked up and the dogs in the house.
After a few days of that, my...