No, Megan Boone did not leave because of James Spader. In fact, she has said that she loved working with him and that he was one of the reasons she signed on to the show. The real reason she left was because she wanted to spend more time with her family.