Tim Duncan has had the same coach his entire career and has never played with teams as bad as Kobe's were during the 3 1/2-year span from Shaq's departure through Pau's arrival and he still has one less ring.
As for Shaq, he won exactly one ring after no longer having Kobe for a teammate (and that was a lot more because of D-Wade than him.) I realize he was much more of a reason for those '00-'02 titles than Kobe but that advantage wanes a bit when we compare their respective careers outside of that threepeat.
Shaq:
Titles: 1 (2006)
Finals appearances: 2 (1995, 2006)
Kobe:
Titles: 2 (2009, 2010)
Finals appearances: 3 (2008, 2009, 2010)