Depending on your location, the GPS may work in the building as well - so you’d be able to set the reminder when you’re inside. Also, FWIW, if you’ve set up a reminder and you subsequently loose GPS (or if the signal diminishes to a point where it’s unreliable), the pedometer fallback will engage.