State tax filing

I have a related question.  I moved from OH, to KY, back to OH. I lived in KY for 4 months. I worked in OH only, and my employer withheld for both states. Would I also need to file non resident form, but to KY? Does it matter how long I lived in KY?

 

Thanks!