Electric response of spin polarization in two-dimensional electron gas with structural inversion asymmetry in a magnetic field was studied in the linear response theory and numerical simulation. It was found that an electric resonant response of spin polarization occurs when the Fermi surface is located near the crossing of two Landau levels due to the competition of the spin-orbit coupling and the Zeeman splitting. The scaling behavior was investigated with the degenerate perturbation method and the resonant peak value is reciprocally proportional to the electric field at low temperatures and to temperature for finite electric fields. Numerical simulation illustrated that the disorder opens an enegy gap near the resonant point and suppresses the effect gradually with the increasing strength of disorder. This effect provides an efficient way to control spin polarization by an external electric field.