You don't have to use the grease, but it's a good idea if you do. Like everyone has already said, it goes between the pad and the metal shim that goes up against the pad before you mount it back into the caliper.
The pads oscillate in the caliper up against this shim and that's what can cause some squealling.