State to state. In my state, like many others, the Castle law applies, and I can and will stroke you if you happen to prance into my home. In Texas, you can and will get stroked by a neighbor of a homeowner who observes you breaking into his neighbor's house, even if you are told not to. True story.
Interesting, we dont have the same laws here, self defence is not a reasonable excuse in nz, there have been numerous cases of farmers shooting thieves in nz and being charged with murder/manslaughter by our "police". Luckily enough, in each case the juries have aquitted them because the average citizen here has more common sense than the authorities.