Yes, it is necessary. The resting period allows the flavors to meld together, making it easier to slice and serve the layers.