Hello Anna

You will only be entitled to request Spanish citizenship after two years of legal residency in Spain, if you previously hold nationality from a Latin American country. Either PUerto Rico or Dominican Republic. Also note that dual nationality between the US and Spain is not allowed.