If a participant takes a hardship withdrawal towards the purchase of his principal residence and the purchase doesn't go through can he re-deposit the funds back into the retirement plan (document is silent)? And if yes, must it be returned within a certain time frame?

Thanks!