Using a cheesecloth keeps the syrup from having a gritty texture from the pumpkin puree. If you want a smooth syrup, it must be strained. If you don't mind the texture, or simply want to keep the puree in, you can.