Reset iPhone 5s (iOS 8.4) WITHOUT updating iOS
Yes, if you reset from settings you’ll stay in your current version. You’re also fine to connect to a carrier, you will not be automatically updated. You may be prompted to perform a carrier settings update but that will not change your iOS version.