It you do a reset plugged into iTunes and then request a restore, you'll get the latest available version of iOS via iTunes. If you are already current then it will just tell you. If you are a version down it will begin to download the latest version of iOS and install it.
If you are going to do a reset, do it away from iTunes.