Regarding Residency

My W2 is coming from a company in Indiana and Indiana state tax has been withheld from my paycheck every month in 2021. But due to Covid situation our company allowed employees to work and remote. I won a home in Florida and so I worked from Florida for this Indiana company for about 7 months in 2021. Can I file Fed and Indiana taxes as a Florida resident? Please advise. Thanks in advance.