Memory used for CMSIS API's implementation?

I would like to know where is the CMSIS SW stored with respect to Cortex-M3 Processor. Will it be stored inside the vendor specific on-chip flash present in MCU?