The amount of time you can access text messages can vary depending on the method used. Using the built-in search feature or Spotlight Search on your iPhone will only allow you to access text messages that are currently on your device.