This is the Air Force policy from AFI 36-3212.
Note 5.19.2. for leave computation
5.19. Date of Disability Retirement or Discharge.
5.19.1. HQ AFPC/DPPD determines the retirement or discharge date no later than 10 days from the date of the Secretarial determination of unfitness. Appropriate processing and permissive TDY time will be considered before the effective retirement date is established.
5.19.2. If members have not previously sold 60 days of accrued leave after 10 February 1976, they must sell the leave at separation or retirement. Members retiring or separating for disability may use accrued leave that they can not sell back. If they have sold the maximum leave permitted by law, HQ AFPC/DPPD will add their accrued leave to the 20-day processing time (30 days if overseas) to arrive at the final discharge or retirement date (see AFI 36-3003, paragraph 3.13.1).
5.19.3. HQ AFPC/DPPD will establish disability separation and retirement dates as follows:
5.19.3.1. For members serving at CONUS locations, date of separation or retirement will be
established as 40 days from date of Secretary of the Air Force (SAF) Memorandum (SAF) approving the separation or retirement;
5.19.3.2. For members serving overseas, date of separation or retirement will be established as 60 days from date of SAF Memo;
5.19.3.3. For ARC members, date of separation or retirement will be established as 27 days from date of SAF Memo.
5.19.4. HQ AFPC/DPPD has authority to make the following exceptions:
5.19.4.1. Early Discharge or Retirement. HQ AFPC/DPPD approves retirement or discharge
dates of less than 20 days, at the request of the member or the member's commander, and in the best interest of all concerned--if the MPF can complete final processing by the designated date. The member requests early discharge or retirement in writing; the MPF personnel relocations element endorses the request and forwards it to HQ AFPC/DPPD before HQ AFPC/DPPD issues the disposition instructions or retirement order.
5.19.4.2. Overseas. For members located outside the CONUS who elect to return to the CONUS for final processing, HQ AFPC/DPPD authorizes 30 calendar days processing time.
5.19.4.3. Hardship. HQ AFPC/DPPD may approve limited extensions, normally not to exceed 30 days, in cases where the member is facing an unusual personal hardship over and above that encountered by other members being retired or discharged for disability. Submit requests for extension through MPF personnel relocation channels.
5.19.4.4. Special Cases. Unless HQ AFPC/DPPD approves a later date, the date of discharge for basic trainees at the AFMTC is 3 duty days after the date of the Secretarial determination of unfitness. HQ AFPC/DPPD may designate other disability cases for retirement or discharge to become effective in less than 20 calendar days and will notify all concerned.
Hope This Helps