Theoretically that is possible as there is little stopping you from working both companies. Assuming you have seniority at UPS they can't do much about it, but if Fedex were to learn you were working for UPS too chances are good they would fire you for a conflict of interest but it would depend on how badly they need the bodies as well.