01 - Set the oven to 425°F.
02 - Remove giblets from the chicken and pat dry with paper towels.
03 - Combine olive oil, minced garlic, lemon zest and juice, dried thyme, dried rosemary, salt, and black pepper in a small bowl.
04 - Rub the marinade evenly over the chicken, including beneath the skin and inside the cavity.
05 - Fill the chicken cavity with quartered lemon, fresh thyme, rosemary, and onion quarters if using.
06 - Tie the legs with kitchen twine and tuck the wings under the body for even roasting.
07 - Place the chicken breast-side up on a rack inside a roasting pan.
08 - Cook for 1 hour and 15 minutes until juices run clear near the leg and an internal temperature of 165°F is reached in the thickest part.
09 - Allow the chicken to rest for 10 minutes before carving.
10 - Optionally garnish with fresh parsley and serve.