Two of the members of Abba broke up and he wrote this song with help from his wife who he was leaving. So basically, wrote the song together. @John Brunner, have you heard this one?
I just found it very unusual for them to be broken up then he ask her to help him write a song like this one with him.