If you've already synchronised your data on the Garmin Connect app, then it will be safe there when you erase your watch in the resetting process.