Mahr is the right of the wife due on the husband for her whether they are living together or divorced. No doubt, Muslim man is responsible to give the full Mahr to his wife when ever she asks. This matter has nothing to do with divorce as it is a separate duty on the husband who believes in Allah (SWT). Not giving the Mahr to the wife is a major sin which leads to hellfire.
Wassalam.