Correct. Low speed through the resistor (drops the voltage to the motor so it runs slower). High speed bypasses the resistor so the blower runs full voltage (full speed).
The resistor is in the case so there is airflow over it to cool it off. As a byproduct of lowering the voltage it makes heat. since there is a fan to cool it while it is running, pretty good place to put it.