Does a digital output retain it's state when an XBee Series one module is put to sleep?

Hello,

I am planning a project where I will bee using two Series 1 XBee’s with I/O line passing. One of the radios will be battery powered so I plan to use cyclical sleep mode on it. I am wondering if the output of a digital pin retains it’s state (either high or low) through a sleep period? Once it wakes will it then update the pin status based on the last transmission received?

Yes I believe it does.