10 USC 1476 - Death gratuity: death after discharge or release from duty or training

(a) 
(1) Except as provided in section 1480 of this title, the Secretary concerned shall pay a death gratuity to or for the survivors prescribed in section 1477 of this title of each person who dies within 120 days after discharge or release from
(A) active duty; or
(B) inactive-duty training (other than work or study in connection with a correspondence course of an armed force or attendance, in an inactive status, at an educational institution under the sponsorship of an armed force or the Public Health Service).
(2) A death gratuity may be paid under paragraph (1) only if the Secretary of Veterans Affairs determines that the death resulted from an injury or disease incurred or aggravated during
(A) the active duty or inactive-duty training described in paragraph (1); or
(B) travel directly to or from such duty.
(b) For the purpose of this section, the standards and procedures for determining the incurrence or aggravation of a disease or injury are those applicable under the laws relating to disability compensation administered by the Department of Veterans Affairs, except that there is no requirement under this section that any incurrence or aggravation have been in line of duty.
(c) This section does not apply to the survivors of persons who were temporary members of the Coast Guard Reserve at the time of their death.