The ACM property for unions of lines in P1×P2