No, Sleep Mode settings are based on time schedules rather than location. However, you can manually turn Sleep Mode on or off anytime using Control Center or Siri, regardless of where you are.