(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.