(1)
Notwithstanding any other provision of law and except as provided in paragraph (3) of this subsection, a person described in paragraph (2) of this subsection who is discharged or released from a period of active duty before completing the shorter of—
(A)
24 months of continuous active duty, or
(B)
the full period for which such person was called or ordered to active duty,
is not eligible by reason of such period of active duty for any benefit under Federal law (other than this title or any other law administered by the Secretary), and no dependent or survivor of such person shall be eligible for any such benefit by reason of such period of active duty of such person.