We are set to close on a house in MD on 6/30/17. Wife will begin residency on that date. Husband will remain in HI working through 2017 and intends to join wife in MD in early 2018 and likely no longer work full time. We will keep our home in Hawaii. Wife is retired but receives a military pension. Our intent initially is for MD to be primary home/state of residence with HI to be secondary home as we expect to spend more time in MD. Since marrying we have always filed jointly. How should we file for 2017? Wife will spend almost exactly 50% of year in MD and 50% in HI. Husband will be working and living 100% in Hawaii with the intent to join spouse in MD in JAN 2018.