Smoke alarms should be inside of each sleeping area, outside of each sleeping area, and on every level of the home (including basements).
Kitchens, bathrooms, garages, and attics are not good places for smoke alarms because cooking, steam, dust, and car exhaust can cause too many false alarms.
If a smoke alarm is giving too many false alarms, try moving to another spot in the same area but never remove the batteries or take the alarm down.