Quick search by citation:

10 U.S. Code § 508 - Reenlistment: qualifications

(a)
No person whose service during his last term of enlistment was not honest and faithful may be reenlisted in an armed force. However, the Secretary concerned may authorize the reenlistment in the armed force under his jurisdiction of such a person if his conduct after that service has been good.
(b)
A person discharged from a Regular component may be reenlisted in the Regular Army, Regular Navy, Regular Air Force, Regular Marine Corps, Regular Space Force, or Regular Coast Guard, as the case may be, under such regulations as the Secretary concerned may prescribe.
(c)
This section does not deprive a person of any right to be reenlisted in the Regular Army, Regular Navy, Regular Air Force, Regular Marine Corps, Regular Space Force, or Regular Coast Guard under any other provision of law.
Editorial Notes
Amendments

2021—Subsecs. (b), (c). Pub. L. 116–283 substituted “Regular Marine Corps, Regular Space Force,” for “Regular Marine Corps,”.

Statutory Notes and Related Subsidiaries
Transfer of Functions

For transfer of authorities, functions, personnel, and assets of the Coast Guard, including the authorities and functions of the Secretary of Transportation relating thereto, to the Department of Homeland Security, and for treatment of related references, see sections 468(b), 551(d), 552(d), and 557 of Title 6, Domestic Security, and the Department of Homeland Security Reorganization Plan of November 25, 2002, as modified, set out as a note under section 542 of Title 6.