When cockroaches take harborage near palm trees, they primarily live at the base. However, trees placed too close to homes can pose a problem. The cockroaches may track into your home through outside openings, or by climbing the trees to access the top floors of your house.