Hello Pavan,
Since you have passed your 12th standard from Andhra Pradesh, your home state is Andhra Pradesh. In a general sense , if a candidate has studied in a state for minimum 5-7 years, then it means that he/she is resident of that state. Since , you have not mentioned the exam regarding which your query is related to , I assume it is about NEET. According to the 85% state quota rules a person claim the benefit if the candidate has completed/appearing his/her 10th and 12th from the state, possess a valid domicile in the state, and possess a residency proof of the state.
Hope this helps
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile