Based on the reporting, she's staying a bit longer for two main reasons:
The prime minister will remain in Downing Street, to shoulder the blame for what are expected to be dire results for her party from Thursday’s European elections – and to host Donald Trump when he visits.
Trump will be visiting the UK from June 3 to June 5.
Another issue, which might explain why the leadership contest only begins in full swing on June 10 rather than immediately or June 8, is that the Tories are looking into changing the rules to elect their leader. There are a few more details about the election procedure on Wikipedia.