Yes, this is correct. Although impedance has imaginary parts, the physical part is real, and has the same units as resistance. Taking the real part of a complex quantity doesn't change the units.