In NY State it depends on whether the AHJ requires a permit for the new service.
AJ403.2 Smoke alarms. When repairs requiring a permit occur, the individual dwelling unit shall be provided with smoke alarms located as required for new dwellings; the smoke alarms shall be interconnected and hard wired.
Exceptions:
1. Repairs to the exterior surfaces of dwellings are exempt from the requirements of this section.
2. Except for bed and breakfast dwellings, smoke alarms in existing areas shall not be required to be interconnected and hard wired where interior wall or ceiling finishes are not removed to expose the structure.
AJ403.2.1 Power source. Smoke alarms shall be permitted to be battery operated when installed in buildings without commercial power or an on-site electrical power system, or in buildings where existing interior wall or ceiling finishes are not removed to expose the structure.
AJ403.2.2 Interconnection. Smoke alarms shall not be required to be interconnected where battery operated alarms are permitted.
AJ403.3 Carbon monoxide alarms. When repairs of fuel-fired appliances and equipment, solid-fuel burning appliances and equipment, or fireplaces and chimneys occur, the individual dwelling unit shall be provided with carbon monoxide alarms as required for new dwellings.