Yes, SQL 2012 can attach a SQL 2005 database, but as soon as you do that the database is upgraded to a 2012 database and you won't be able to restore/attach to SQL 2005 ever again.
Download SQL 2005 Express or evaluation (if they're still available anywhere)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass