Yes, but if you’re directly employed by the fed, you will receive back pay. If you receive unemployment pay during that time, you will have to pay it back.
The big issue is people who are employed by a contracting firm and work in federal buildings - they won’t receive back pay when they come back.