Judge Weir said that over a five-year period James received $86,715.83 in benefits, including the domestic purposes benefit, to which he was not entitled.
James' lawyer Max Simpkins said the relationship was not a conventional heterosexual relationship where they were having a sexual relationship but he had provided emotional and financial support.
The woman had been sentenced to three months' home detention and 200 hours' community work for her part in the offending.
James had the care of his children and if he were sent to jail that responsibility would fall on his wife, Mr Simpkins said.
His wife was not involved in this offending.
Judge Weir said James felt gutted about what he had done and when he discovered what he was doing was illegal he was shocked, embarrassed and ashamed.
Judge Weir spoke of the inconvenience and cost to the taxpayer by James' offending and that sending him to jail would only add to the state expenses.