Long term capital gain tax

I just sold my house in Missouri and I am moving to Illinois. Will I owe Illinois long term capital gain tax on what was earned for my house sale in Missouri?