If I work in one state but live in another do I file taxes for both states

Live in WV but work in Va