51829 Williemccool (2001 OD ) is an asteroid named for astronaut Willie McCool, who was killed in the STS-107 ("Columbia") space shuttle reentry disaster on February 1, 2003. 51829 Williemccool was discovered on July 21, 2001 at Palomar Observatory by the JPL Near Earth Asteroid Tracking Program.
51829 Williemccool was discovered and named before astronaut Wille McCool died.
The context states that the asteroid was named for Willie McCool who died in 2003. It states that it was discovered in 2001, not named then.