FWIW, even before the advent of the recent wave of "stand your ground" laws, there was an older legal principle, that was very widely held, called "castle doctrine"[1] which comes into play in terms of killing a home intruder. The details still vary from state to state, but AIUI, many locales hold to a form of castle doctrine such that if you kill an invader who is actually in your home, you would be unlikely to be charged with murder.
[1]: https://en.wikipedia.org/wiki/Castle_doctrine