In no way it is illegal........ but not authorised too.....
Both must carry their ID cards
Day time driving - LET HER SIT FRONT SEAT
Night time driving - LET HER SIT BACK SEAT
Sitting inside the car in a secluded dark area in a compromising position triggers suspicion, then you both are in trouble............. not much to panic you......