I would modify your question slightly, if you don't mind.
What is common and what are the differences between targeted attack and residence targeted attack.
The common part is attack. Someone out there who wants to rape, kill and looks for an opportunity to attack, rape, kill.
The differnces are that in first case the opportunity arises in form of particular person(s). Then the attacker gets obsessed with that person, it is like an obsessive love but in reverse, they need to kill that person. The person is relevant. My perception is that the killer often tries to get close to the person prior the atrack, such as sralking, trying to engage them in a conversation, but I am confused on that part.
In case of residence targeted attack the opportinity arises in shape of 'easy to get to' property, as it is known to be left unlocked, there is a missing/broken ground floor window, vulnerable people inside, no man (easy to overcome females) etc. In this case, the perpetrator just goes in that easy entry area and kills whoever they could as many as they could. It is not necessary that killer knows the habitants of that property, at all, prior to attack.
It is really intersting topic. That was JMO