The NFPA requires alarms to be on a dedicated circuit.

It is important to note that local code may override this. To be absolutely sure of the proper wiring of an alarm, you should use a licensed and insured electrician, and check with your local building department.