Well, first of all, if you thought it was ok... why are you asking us? I have a feeling you don't think it's ok either.
Secondly, it's really not over till it's over. There is still an opportunity for reconciliation (even if they don't think so.. God's a pretty big God.)
Thirdly, getting involved romantically with a married person is not only socially unwise, it's tempting yourself with adultery.
Finally, getting romantically involved with someone who has not been single at least 6 months post-marriage is just borrowing trouble. Though that's not a Biblical principal, someone just ending a marriage (no matter how long it's been 'over') is still reeling and hurting emotionally. You may not see this yet, but often a man - women too, but as you are a woman, I'm assuming he's a man - will not deal with his emotions and will distract himself with someone who might make him happy... but then he'll realize he's not ready and you are the one who gets crushed. There is a reason why the phrase "rebound relationship" is a well known concept.
But yes, please do pray about it. The above is my opinion. It's also my opinion that if it's a God thing that the two of you are together, you both will wait till he is free and clear to pursue you. Keep your acquaintance, your friendship (if one already exists) and put a boundary up of him not approaching you romantically till he's a single man, and has had some time to seek God and heal from the ending of his marriage. I'm not a young woman, I've seen a few things in my time. Please benefit from my experience. God bless you!!