Murder would still be illegal under common law, but let’s take your hypothetical and say that it wasn’t, and say that a state didn’t have a statute against murder: the Federal Government could prosecute under Federal law in the Federal court system.
The States have no obligation to charge under that same Federal statute though, and in fact can’t because it’s not their law.