Matter...how?
Technically, no: one lives in vector space of dimension 4 (4 entries in the matrix), one lives in a vector space of dimension 6.
However, the space of 3x2 matrices with 0 last row is isomorphic to the space of 2x2 matrices (as a subspace of all 3x2 matrices), and the two matrices share many common properties: the same rank, for example.
Your first matrix is equivalent to a linear system of equations:
x + 2y = a
3x + 4y = b
The second matrix is equivalent to the system:
x + 2y = a
3x + 4y = b
0x + 0y = c
If c is non-zero, the second system has no solution, even if the first one does.
On a more abstract level, it depends on what you mean by "the same". An extreme view would be that the symbol $A$ (whether it be a matrix, an equation, or a sentence in some language) is only equal to $A$ and nothing else. This is, for most purposes, far too restrictive, for example, when we write:
2 + 2 = 4
Obviously we do not mean "2 + 2" and "4" are literally the same string of symbols, but rather the two functions:
$f(x,y) = x+y$
$g(z) = z$
have the same image for $(x,y) = (2,2)$ and $z = 4$.
A better example: the Euclidean plane $\Bbb R^2$ and the polynomial space:
$P_1(\Bbb R) = \{f: \Bbb R \to \Bbb R| f(x) = a + bx\}$
are isomorphic as vector spaces, but clearly they are not "the same" (one consists of pairs of real numbers, and one consists of functions on the real numbers) but they share a common dimension, which means in a suitable coordinate system they share a common arithmetic:
one can calculate the polynomial $(f + g)(x) = f(x) + g(x)$ where:
$f(x) = a + bx$
$g(x) = c + dx$
by doing a similar sum in $\Bbb R^2$: adding $(a,b) + (c,d)$.
Much of mathematics is a process of increasing abstraction: which is essentially a process of replacing equality with equivalence. The reason this works so well is that equality itself is an equivalence relation on any set (in fact, the MINIMAL one), so much of what we feel "ought to be true" turns out to be true even when we replace "equal" by "equivalent".
You can think of this process as the process of choosing "the right size filter". Equality is the finest filter possible, whereas "everything is indistinguishable" is the coarsest filter possible. Usually we want something in-between.
The main problem with saying your two matrices are "the same" is that in fact there are MANY possible ways to embed the space of 2x2 matrices within the space of 3x2 matrices (we could map our original 4 entries to any of the 6 possible positions in a 3x3 matrix...for example we could add a 0 row at the top, or in the middle, or take the transpose, and then add a 0 row). Each of these ways produces a subspace of the 3x2 matrices that is somehow the same, but still not equal to the other spaces (in other words, if we are modelling a physical problem "position may matter").
Consider the linear mapping $\Bbb R^2 \to \Bbb R^2$ that has the matrix in the standard basis:
$[T] = \begin{bmatrix}1&0\\0&0 \end{bmatrix}$
This is the projection function onto the $x$-axis:
$T(x,y) = (x,0)$.
Clearly, this isn't the same thing as the identity function $f(x) = x$ on the real numbers, $f$ is bijective, and $T$ is not. And yet, if we restrict $T$ TO the $x$-axis, it acts pretty much the same as the identity function. The difference being, is that $T$ restricted to the $x$-axis, and the identity function on $\Bbb R$ have different domains, and co-domains, and so represent distinct, if eerily similar, functions.