The man was dead already so the husband cannot be charged with murder. IF he is in violation of other state laws, like firing a weapon within the city limits, or the weapon isn't properly registered, or there is law about acceptable treatment of a dead body he could be charged with something like that.
Intent only applies in specifically defined situations, such as the amount of drugs you have leading to an intent to distribute. The bottom line is that he no more killed the man than if he never walked into the room.
However, I am not a lawyer so I might be wrong