I rest when I need to, which usually means either my casters have run out of spell slots, or the party has run out of short rests. As a practical result, that means I sometimes rest when it's not RP appropriate, such as when I rested after
my first fight with Ketheric Thorm on top of Moonrise Towers
. In a "real" world I would have continued on from that point in hot pursuit of my enemy rather than resting for the night, but I keep in mind that also in a "real" world I would not be leaving any companions in camp and would have had a bigger party and thus more resources anyway.