Modeling the magnetosphere for northward interplanetary magnetic field: Effects of electrical resistivity