Yes it is. If fact, the First Congress codified the Declaration of Independence as the fist statute. The second statute enacted was the Constitution of the United States.
Look it up.
Only laws passed under the Constitution are valid. Laws passed under the Articles of Confederation or earlier are not law today, unless enacted again under the Constitution.