I can confirm on PlayStation. @Marylambs and I were playing co-op and killing bosses (not spawned in) and the moment we both fought the same monsters, we stopped getting xp. We had to create a circuit and fight them separately. Once we were fighting the enemies separately, it worked again. So yeah, if you share kills, it doesn’t count.