If you have iPhone 12 or later, you can set up separation alerts so that you don't leave your AirPods (3rd generation), AirPods Pro and AirPods Pro (2nd generation), or AirPods Max at an unknown location.