Generally speaking, yes, you want to deploy the sensor in range of WiFi so it can upload its measurements in real time.
Some sensor models also support writing measurements to an SD card. This would allow for deployment away from WiFi, but requires removing the card and reading out the log to obtain the measurements. More information about the SD card data is in the post linked below.