Your home should have smoke detectors installed in each sleeping room and in the space or hall directly adjacent to the sleeping room. In addition, at least one smoke alarm should be located on every floor of the home, including the basement.   The link below is a smoke alarm summary sheet from the NFPA, who is regarded as the authority on fire safety topics.

http://www.nfpa.org/~/media/files/safety-information/safety-tip-sheets/smokealarms.pdf?la=en