If I am declared homeless, but have an ID of X state, am I eligible to be an instate student?

In general, yes, you retain your high school home state of residency when you go away for undergrad.