I would let it cool slightly so that you can transfer it to whatever container you will use to store it in. But it does not need to be completely cooled before you refrigerate it. The longer food stays out at room temperature the greater the chances that bacteria can grow, so don’t be afraid to put your soup in the fridge as soon as you can handle it.