Yes, for this recipe, we recommend cooking the spinach before incorporating it into the quiche. The process involves sautéing it alongside onions until it's somewhat wilted. This step not only helps eliminate any excess moisture that could potentially make your quiche soggy but also enriches the overall flavor of the dish.