I believe it is. All party members get the XP (even if not present). This is to keep your companions even in level so they don't become obsolete. Working as intended for now but may change in the future.