You need to decide what you want. Do you really think he wants to be "friends"? Do you? Is that all you want? For what it's worth, I think you need to be "done" (translates into D) before you start dating. I would also offer that even when you are done, after all of this are you really ready for another R? I know I'm not and probably won't be for quite awhile. I have too much work to do on myself before I have anything to offer someone else.
Now, let's say you want to be just friends Why? what's your motivation? Just to have a male friend? I get that, but given he's shown his intrest in you, I'm not sure this man is the best choice.
Ultimatley, you have to decide what you want and what's in your best intrest.