There is no "all in one" solution that can solve this problem. All you can do is add game elements that penalize bailing out or crashing a plane, and reward bringing a plane home.
I like what used to happen in Red Baron when you played the war career - if you crashed, or got captured it would play some cinematic scenes for you causing a delay before you could re-up. Since it was following the actual timeline of the war this caused you to lose a month of possible sorties and kills each time you crashed or ditched behind enemy lines.
Just put a re-up delay in place and key it to whether you land, bail, ditch, or crash in friendly or enemy territory.
Land in friendly territory - no delay, go ahead and re-up.
Bail or Ditch in friendly territory - 30 sec delay while you are checked out by the flight surgeon.
Crash in friendly territory - 60 sec delay while you recover in the hospital
Land/Ditch in enemy territory - 60 sec delay while you escape back to your lines and rejoin your unit.
Bail in enemy territory - 90 sec delay while you escape back, and then get checked out by the flight surgeon before being returned to duty.
Crash in enemy territory - 2 minutes while you escape back, then get debriefed and checked out before being returned to duty.
You can add elements (like a x2 multiplier if your plane is undamaged when it happens, or a 0.5 multiplier if you get shot down & killed), and you can debate how long to make the delay, but it would provide a "penalty" for anything other than bringing your plane home and landing it successfully (which should always be a standard goal for any pilot).
You can also add elements that are only received if you bring a plane home, or enhanced because you need the perks to purchase them for your plane. You want gondies, or the big bombs, or drop tanks, rockets, etc. - make it cost a few perkies to get them and have to set it up and pay for it in the hanger for each plane type (then have it reset if you lose that ride since you are getting a new "factory fresh" ride).
There are plenty of elements that can be added to discourage bailing - it just takes the will and programming time to make it happen.