Obviously leaving a nest for a long period of time until the eggs get stone cold is not good for hatch-ability. However, I have had nest accidents, very cold eggs, and still got a somewhat decent hatch. Generally the eggs in the center of the clutch hatched while those on the edges did not.
So there is no hard and fast rule. Environment and temps play a big factor in embryo survival. On hot days, a hen may leave the nest for longer periods of time and sometimes several times in one day. On cold days, consistent setting is more important. If a hen is repeatedly getting up and leaving the eggs for several hours, then she is not really seriously brooding. I call it sulking. Enough hormones to encourage some setting, but hormones are not elevated enough to really cause a deep brood.
Many hens have a pre-broody stage where they sulk in the nest over a week, gathering a clutch, and then settle into a serious brood. Some hens need isolation without any disturbance to avoid unsettling them and causing them to wander crankily in the yard.
If in doubt, candle the eggs to see how they are developing. It is best to not disturb eggs from day 18 forward as you can interfere with the chick's hatching position. If they get chilled at this point, then put the hen back on the nest and hope for the best. Your answer will come in several days. If chicks haven't hatched by day 22, then candle to see if the eggs appear to still be viable. There are some good photos on BYC of the stages of chick development that can help.
LofMc