Going by the outfit (which is the sort women wear to funerals) and the grainy picture of Reimu in the background, I am going to take a guess that Reimu has died some time ago or, rather, Yukari is seeing into the future, knowing her friend will die at some point and she'll continue to live