As a Filipino you are entitled to apply for Spanish citizenship after having resided legally in Spain for two years.