I own a hen now that belonged to two different neighbors prior. Apparently she didn't bond with her hatchmates at the farm well enough to not wander, and was given away to hopefully be happier elsewhere. Well, my next-door neighbors got her next, but they don't do full fencing and her wandering habits took her to my porch (where feed is often spilled and with my chicken yard only a few yards away). She was caught, herded, chased, even threatened with the hose pipe to go home! Daily. For months. Then, I found her INSIDE my chicken yard stealing food.
Honestly I don't know what her deal was; the neighbor seemed to have roosters that liked her well enough and she always went back to sleep and lay eggs. However, by the time she was spending 75% of her time on my porch or just breaking and entering my fenced chicken yard I figured she must like it here. The neighbor let her stay to reduce disease risks between flocks.