Yes i would absolutely prefer to die on my feet then live on my knees.
Most states, even ones with a duty to retreat, will still allow for using lethal force against home invaders, and even if not good luck finding a jury to convict someone on that kind of an incident.