If you use Apple CarPlay or connect your iPhone to Bluetooth Apple Maps will remember where you parked your car once you disconnect. I use this feature quite a bit to know how far I have to walk back to the car when I’m out on a hike.
Though, I imagine an AirTag will give you more precise location.
Though, I imagine an AirTag will give you more precise location.