It would depend on where it was living. If it was in a warm, wet place it could live there indefinitely until it found a new food source. However, if it is a dry surface. it can live anywhere between 3 days and 6.5 months at the most extreme. This is why it is important to check and clean surfaces carefully.