I am the son of a Salvadoran father and I need to obtain Salvadoran nationality, do I have to apply for residency?   

You do not have to apply for residency, since as a child of a Salvadoran father or mother you have the right to dual nationality and the procedure to obtain Salvadoran nationality must be done through the Ministry of Foreign Affairs. http://www.migracion.gob.sv/

Country of Interest