1. Preheat oven to 350 degrees F. Spray a medium saucepan with vegetable cooking spray. Heat over medium heat. Add onion and garlic. Cook, stirring frequently, until browned, about 7 minutes.
2. Add rice and sherry, stirring to coat. Cook, stirring occasionally, until liquid is absorbed, about 5 minutes. Stir in broth, water, herbs, salt and pepper. Bring to a boil. Transfer mixture to a medium baking dish. Cover with foil.
3. Bake until rice is tender, about 20 minutes. Stir in parsley and pecans.