Some of the ANA or JAL contracts are commuting contracts. Not doing one myself but have applied. They buy you a ticket from home to work. Some of the guys already doing the contracts will probably chime in with some first hand info.
mxer is correct. I am on one of the ANA contracts and you can live anywhere you want. You commute in, do your 20 days of work, and commute home. We have guys here that live just about everywhere in the world. Some from the US, some from Europe, and I think there is even one guy with a house on some island in the middle of the South Pacific.