The real answer to this is that it’s up you! The cookies will bake up well either way, but chilling them for even 30 minutes does insure that the jam won’t run out of the cookie too much.