No, it is not necessary to defrost the ravioli before layering the casserole. The ravioli will thaw and cook perfectly in the casserole while it bakes in the oven.