It lasts a long time and doesn't require concentration. I don't see why not, though you wouldn't be aware of your surroundings until you wake up. Good use of the spell, really.
The other things to check for are whether the spell requires concentration or ends if you lose consciousness. If neither condition applies and the duration is long enough, it should work.