In a large pot, heat the olive oil over medium heat. Add the diced onion and sauté for about 3-4 minutes until translucent.
Stir in the minced garlic, sliced carrots, and celery. Cook for another 5 minutes, stirring occasionally.
Add the dried thyme, dried rosemary, and black pepper. Mix well and cook for 1 minute until fragrant.
Pour in the chicken broth and bring the mixture to a boil.
Once boiling, add the shredded chicken, frozen peas, corn, and bay leaf. Reduce the heat to low and let it simmer for 20-25 minutes.
Remove the bay leaf, taste the soup, and add salt as needed.
Serve hot, garnished with fresh parsley.