dnd 5th – Can the undead that you have resuscitated wait in a portable hole?

Assuming that casts the appropriate levels of spells to keep them under my control, can my resuscitated undead remain in a portable hole because they do not need to breathe or sleep?

I see no reason they can not, but this seems like an extremely easy way to get around what is normally a big problem.