Question about location access setting in iOS mobile app

Quick and probably dumb question - In iOS Location Services, if I set Home Assistant to always allow location access, will it track my location even if the app is closed and not running in the background?