A federal law could specifically override the SCOTUS ruling. The SCOTUS vacated Roe because it was not codified in law or contained in the constitution as an enumerated right.
You're missing the most important part: they kicked the issue back to the States, because that's where it belongs. There's nothing in the Constitution of the United States of America that conveys a right to murder another human being.
Additionally, all rights not EXPRESSLEY conveyed to the Federal Government by the states, remains a States Rights issue.