Why there's no honest "pest-free" timeline
The premise of the question assumes a treatment creates a sealed bubble around a house for some fixed number of days or weeks. It doesn't, because the pests capable of re-entering aren't eliminated from the surrounding area by a single indoor treatment — they're eliminated (or reduced) only inside the structure at that moment. University of Nebraska-Lincoln Extension research on house mice finds they "seldom venture beyond 50 feet from their shelter and food supply," which means any home within that range of a viable food source and shelter sits inside a population that continues to exist and continues to probe for entry, whether or not a treatment happened last week. Rats range further still — Mississippi State Extension documents roughly 100-foot home ranges for Norway rats around structures.
So the honest answer to "how long will it stay pest-free" is: as long as the entry points stay sealed, and not meaningfully longer than that regardless of how recently pesticide was applied.

