Preheat your oven to 250°F. Spread the sourdough cubes across a baking sheet and bake for 45–60 minutes, stirring occasionally, until dry and crisp. You can also leave them out overnight.
Melt the butter in a large skillet over medium heat. Add the diced onion and celery and cook for 8–10 minutes, until softened and fragrant.
Stir in the garlic, sage, thyme, rosemary, salt, and pepper. Cook for another minute until fragrant.
Place the dried sourdough cubes in a large mixing bowl. Pour the buttery vegetable mixture over the bread and gently toss to coat.
In a separate bowl, whisk together 2 cups of broth and the eggs. Pour over the bread mixture and gently toss. Add additional broth as needed until the bread is moist but not swimming in liquid.
Transfer to a buttered 9x13-inch baking dish. Cover with foil and bake at 350°F for 30 minutes. Remove the foil and bake another 20–25 minutes, until the top is beautifully golden and crisp.
Sprinkle with fresh parsley and serve warm.