Brooding lasts until the hen is broken, she hatches eggs or she dies.
She should be locked in a small wire dog crate that is elevated about 4 to 8 inches off the coop floor so air can circulate under her. Keep fresh water and food in there with her. A piece of 2x4 to sit on to get off the wire...