Ask yourself WHY you are doing it (being very friendly). If you are doing it "because that's just who I am, it's who I choose to be, and it rings authentic to me," then I think that's fine. (Just don't look for it to be effective in your DBing efforts).
If, however, your thought is -- AND THIS IS THE OVERWHELMING MAJORITY OF PEOPLE I SEE ON HERE -- "This will endear him/her to me, and make him/her more civil in the divorce action, and/or make them come back to me," then FUHGEDDABOUTIT. If anything (and I think this is especially true for wayward women/betrayed men), it causes them to LOSE respect -- and therefore, love -- for you!