Two other people are in critical condition after a blaze broke out in the residence, in Spain's Zaragoza region.