No — the beta expired when LittleBigPlanet 2 launched. Codes from that period are dead, and any still being passed around won't redeem.
Betas in general work this way: once the game ships, the servers close and the codes stop meaning anything. If you missed it, the retail release is the only way in now.