Tenho certeza de que este é o episódio do Stargate SG-1 "Breve Vela" :
On a visit to Argos, SG-1 discover that a Goa'uld, Pelops, engineered the Argosian race to live for only 100 days. Colonel Jack O'Neill is inadvertently infected with the nanites that cause their rapid aging and grows older by the day, while the team try to stop the process before it is too late.
Inclui o momento "andar fora do intervalo" mencionado por você:
Stuck on Argos, O'Neill walks and talks with Kynthia, and they walk beyond Pelops' boundary of the village. Then at night, they don't fall asleep. O'Neill realizes that there must be a transmitter of some kind in the village that is responsible for the functioning of the Nanites