Any minor who is sixteen years of age or older and who is a resident of this state may petition in the superior court for a declaration of emancipation.