No law is needed because the US Constitution is silent on the issue of secession. It is not unconstitutional.
Article 1, Section 10.