How long can a rat in the attic can live without food?

How long can a rat in the attic can live without food?