Where is the consciousness located? Cosmic Consciousness?
It is never a good idea to mix the speculations of the modern rationalists with buddhism. In buddhism, the location of consciousness is irrelevant. The thing to know about consciousness is this:


  "He discerns consciousness, the origination of consciousness, the
  cessation of consciousness, the path of practice leading to the
  cessation of consciousness. He discerns the allure of consciousness,
  the drawback of consciousness, and the escape from consciousness.
  
  "And what is consciousness? These six classes of consciousness:
  eye-consciousness, ear-consciousness, nose-consciousness,
  tongue-consciousness, body-consciousness, intellect-consciousness.
  This is called consciousness. From the origination of name-&amp;-form
  comes the origination of consciousness. From the cessation of
  name-&amp;-form comes the cessation of consciousness. And just this noble
  eightfold path is the path of practice leading to the cessation of
  consciousness, i.e., right view, right resolve, right speech, right
  action, right livelihood, right effort, right mindfulness, right
  concentration. The fact that pleasure &amp; happiness arises in dependence
  on consciousness: that is the allure of consciousness. The fact that
  consciousness is inconstant, stressful, subject to change: that is the
  drawback of consciousness. The subduing of desire &amp; passion for
  consciousness, the abandoning of desire &amp; passion for consciousness:
  that is the escape from consciousness.
  
  "For any brahmans or contemplatives who by directly knowing
  consciousness in this way, directly knowing the origination of
  consciousness in this way, directly knowing the cessation of
  consciousness in this way, directly knowing the path of practice
  leading to the cessation of consciousness in this way, directly
  knowing the allure of consciousness in this way, directly knowing the
  drawback of consciousness in this way, directly knowing the escape
  from consciousness in this way, are practicing for disenchantment —
  dispassion — cessation with regard to consciousness, they are
  practicing rightly. Those who are practicing rightly are firmly based
  in this doctrine &amp; discipline. And any brahmans or contemplatives who
  by directly knowing consciousness in this way, directly knowing the
  origination of consciousness in this way, directly knowing the
  cessation of consciousness in this way, directly knowing the path of
  practice leading to the cessation of consciousness in this way,
  directly knowing the allure of consciousness in this way, directly
  knowing the drawback of consciousness in this way, directly knowing
  the escape from consciousness in this way, are — from disenchantment,
  dispassion, cessation, lack of clinging/sustenance with regard to
  consciousness — released, they are well-released. Those who are
  well-released are fully accomplished. And with those who are fully
  accomplished, there is no cycle for the sake of describing them.


https://www.accesstoinsight.org/tipitaka/sn/sn22/sn22.057.than.html