Yes the resistor can go on either side, its restricting the amount of current that is flowing tru the whole circuit