Not quite. There is a natural short exact sequence
$$1 \to SU(2) \to U(2) \xrightarrow{\det} U(1) \to 1.$$
This sequence doesn't have a natural splitting, but it does have a splitting given by
$$U(1) \
i z \mapsto \left[ \begin{array}{cc} z & 0 \\\ 0 & 1 \end{array} \right] \in U(2).$$
Such a splitting exhibits $U(2)$ as a semidirect product $SU(2) \rtimes U(1)$, where the action of $U(1)$ on $SU(2)$ is given by conjugation with respect to the above splitting. The image of the splitting does not, and cannot, commute with the image of $SU(2)$ (we'd like to send $z$ to the diagonal matrix with entries $\sqrt{z}, \sqrt{z}$, but $\sqrt{z}$ isn't well-defined on $U(1)$), so this semidirect product cannot be refined to a direct product.