Garland is not a complete idiot. He would decline.
Especially because Garland is ALREADY the Chief judge of the powerful United States Court of Appeals for the District of Columbia Circuit, which usually decides all Federal laws before the SCOTUS. If he leaves that LIFETIME position for a temporary post on SCOTUS, Trump will appoint his successor on the DC court, swinging it back to the GOP side.