As I understand it, cosmic radiation is one of the biggest dangers/problems to space exploration. Some cursory research seems to suggest that it wouldn't take very strong magnetic fields to deflect this radiation; a 1T field can be generated with less than 5A (though area of the field would be the biggest question).
So is there a reason a space station or other body wouldn't just generate their own magnetosphere to deflect this radiation?