Heat the olive oil in a large Dutch oven over medium heat. Add the chicken pieces and cook until lightly browned on all sides, about 5 minutes.
Add the onion, garlic, and carrots to the pot. Stir and cook for 4 minutes until the onion softens.
Pour in the diced tomatoes and chicken broth. Add the rosemary, thyme, salt, and black pepper. Stir to combine.
Add the drained cannellini beans. Bring the mixture to a simmer, then reduce heat to low. Cover and cook for 20 minutes.
Stir in the fresh spinach and cook for 2 more minutes until it wilts. Serve hot with grated Parmesan cheese on top.