The US is, as always, inconsistent. In some states, e.g. Maryland, you have a duty to retreat. Others are stand-your-group. (e.g. Texas and apparently California) How each interprets these is also inconsistent.