A North Yorkshire woman who picked up £42,000 in benefits to fund foreign holidays after lying about her husband living with her landed herself in court.