state attorney requirements