Ah yes, the mystery of safely landing a vehicle. This is just from observation, hopefully someone has a definitive official answer.
Exiting with the vehicle on concrete at a base or town you own will always be a successful landing.
Exiting on grass near a base or town you own that is not flashing and with no enemy nearby will be a successful landing.
Exiting near an enemy base is a crapshoot. If there is no enemy nearby, meaning ground or air, you will probably be captured within 5 miles of the base. If there are enemy about, the closest will get a proximity kill.
Driving back to the spawn point has the best chance of success, but if there are any enemy vehicles lurking near there they'll get a proximity kill.