Well, he gave you space when you needed it. You may just need to give him space.
You say that you have already talked about it and gone over things. If he has said he just needs time, then believe what he says and give that to him. If you can't handle being around him when he is depressed, then you may need to find a way to distract yourself while he takes his time to process stuff.