Magic goes straight through armor I believe. Resists are what prevent magic damage. Such as a Nord race having 50% protection against cold attacks. Or elemental resist potions. Alteration spells giving resist. So on and so forth...
Location does not matter. It does not matter with arrows either, but if an arrow hits your shield and you have a perk for it, it deflects the arrow. Even then, an enemy that shot me in my head still caused damage since it didn't hit my shield. No head shots giving extra damage though.
But ya, resists are for Magic damage and armor for Physical damage.