I never kept mine in more than a couple of days, when I had all new chickens to start with, or when I moved to a new place, or again when we built a new coop on a different part of the property. After they'd spent one or two nights there, they knew it was home. I didn't have to lure them back in at dusk or anything, they just went in.
When I add new chickens to an established flock, I just stick them on a roost after dark, they wake up in their new home, and go out with the others the next day. They find their way back in at dusk, no problem.
When I have baby chicks, I have to go down at dusk and make sure the chicks figure out how to get in. They can get confused, mom can be back inside with part of the babies, and there can be a few running around peeping franticly trying to find mom. The peeping makes it easy to find them all to catch and put in with mom.