It depends upon you are appearing of which entrance examination.
Still you are giving any examination If candidates pass the qualifying exam from outside UP, In that case you have to produce domicile certificate of your parents. candidate with state domicile can only apply for the admission to state quota seats.
For any further query feel free to ask!
Hope it helps!