It is very easy.
One of my friend's son stayed in China for over two years. His travel document already expired. But the police office issued him a departure document one month before his departure. It is allowed.But remember, the departure document is valid for one month only, so don't do it too soon unless he is ready to leave.