The only thing I know about time and sex is this.
Sleeping with your ex's best friend after breaking up a week and a half ago is not a significant enough amount of time for it to not be problem.
DON'T DO IT!
P.S. This was over 6 years ago now. STILL DON'T DO IT!