Sort:  

No it won't matter in terms of how the game engine works.

But it may have in impact on how much of your fatigue gets 'cured'.

So you can rest first, or after, depending on what you think will give you the best results.

that's a good question :-)