You can leave them in there for a week or two if you have a large area they will be free ranging in. You need to get them used to laying in the coop. If they will be going out to a small run, you can let them out now.
They may stop laying eggs from the stress- that would be normal.
Since...